<template>
  <div class="home">
    <div class="menus">
      <el-menu default-active="cust" :router="true">
        <el-menu-item index="/index/cust">联机接口</el-menu-item>
        <el-menu-item index="/index/file">批量接口</el-menu-item>
      </el-menu>
    </div>
    <div class="content">
      <router-view />
    </div>
  </div>
</template>
  
  <script setup>
</script>
    
  <style scoped>
.home {
  display: flex;
  height: 100vh;
}

.menus {
  width: 200px;
  background-color: #f5f5f5;
  border-right: 1px solid #dcdcdc;
}

.content {
  flex: 1;
  padding: 20px;
  background-color: #fff;
}
</style>